﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace nHydrate.DataImport
{
	public interface IImportDomain
	{
		Database Import(string connectionString, IEnumerable<string> auditFields);
		IEnumerable<string> GetEntityList(string connectionString);
		IEnumerable<string> GetViewList(string connectionString);
		IEnumerable<string> GetStoredProcedureList(string connectionString);
		IEnumerable<string> GetFunctionList(string connectionString);
		Entity GetEntity(string connectionString, string name, IEnumerable<string> auditFields);
		View GetView(string connectionString, string name, IEnumerable<string> auditFields);
		StoredProc GetStoredProcedure(string connectionString, string name, IEnumerable<string> auditFields);
		Function GetFunction(string connectionString, string name, IEnumerable<string> auditFields);
	}
}
